package com.exchange.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 *
 * @TableName detail_power
 */
@TableName(value ="detail_power")
@Data
public class DetailPower implements Serializable {
    /**
     * 电瓶详细数据
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;



    /**
     * 属于某个电柜
     */
    @TableField(value = "pid")
    private Long pid;

    /**
     * 0：未充满1：充满未租2：充满已租3：维修
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 电瓶编号
     */
    @TableField(value = "dname")
    private String dname;

    /**
     * 电池类型  40v还是60v
     */
    @TableField(value = "powerType")
    private Integer powerType;
    /**
     *
     */
    @TableField(value = "remark")
    private Long remark;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
